package com.wicket.okrcomponent.biz.service.dto.common;
import com.wicket.okrcomponent.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import java.util.List;
import java.util.ArrayList;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;
    
    
    /**
     * @desc DataMiniRecordDto
     * @使用场景
     */
    @Data
    public class DataMiniRecordDto extends BaseDto  implements Serializable {
      
    /**
     * 统计内容ID 
     */
    @NotNull(message = "统计内容ID不能为空")
@ApiModelProperty("统计内容ID")
    private String	 contentID;

    /**
     * 传输数值 
     */
    @NotNull(message = "传输数值不能为空")
@ApiModelProperty("传输数值")
    private Long	 outputNum;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      DataMiniRecordDto that = (DataMiniRecordDto) o;
      return  contentID == that.contentID&&outputNum == that.outputNum;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), contentID,outputNum);
    }
    
      

    }
   